package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.BookGridChargeLogDao;
import io.wdb.modules.generator.generator.entity.BookGridChargeLogEntity;
import io.wdb.modules.generator.generator.service.BookGridChargeLogService;



@Service("bookGridChargeLogService")
public class BookGridChargeLogServiceImpl implements BookGridChargeLogService {
	@Autowired
	private BookGridChargeLogDao bookGridChargeLogDao;
	
	@Override
	public BookGridChargeLogEntity queryObject(Long id){
		return bookGridChargeLogDao.queryObject(id);
	}
	
	@Override
	public List<BookGridChargeLogEntity> queryList(Map<String, Object> map){
		return bookGridChargeLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return bookGridChargeLogDao.queryTotal(map);
	}
	
	@Override
	public void save(BookGridChargeLogEntity bookGridChargeLog){
		bookGridChargeLogDao.save(bookGridChargeLog);
	}
	
	@Override
	public void update(BookGridChargeLogEntity bookGridChargeLog){
		bookGridChargeLogDao.update(bookGridChargeLog);
	}
	
	@Override
	public void delete(Long id){
		bookGridChargeLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		bookGridChargeLogDao.deleteBatch(ids);
	}
	
}
